import request from '@api/request';
import { HttpUrl } from '@api/httpUrl';

// 获取产品日志列表
export function getProductLogList(type: string, currentPage: number, pageSize: number) {
    return request.get<AjaxResponse['productLogList']>(HttpUrl.getProductLogList, { params: { type, currentPage, pageSize } });
}

// 查询产品日志列表
export function searchProductLogList(type: string, search: string, currentPage: number, pageSize: number) {
    return request.get<AjaxResponse['productLogList']>(HttpUrl.searchProductLogList, { params: { type, search, currentPage, pageSize } });
}
